home *** CD-ROM | disk | FTP | other *** search
- XCOMM platform: $XConsortium: sun.cf,v 1.71 91/12/20 11:18:34 rws Exp
-
- #define OSName SunOS 5.0
- XCOMM operating system: OSName
- #define OSMajorVersion 4
- #define OSMinorVersion 2
-
- #if OSMajorVersion < 4 || (OSMajorVersion == 4 && OSMinorVersion < 1)
- /* We do not guarantee this will work */
- #define BootstrapCFlags -DNOSTDHDRS
- #define StandardDefines -DNOSTDHDRS
- #endif
-
- /* You ALSO need this if you have Sun ld patch 100170-06 to 4.1.1
- #if OSMajorVersion == 4 && OSMinorVersion > 1
- #define SunPost411FCSLd YES
- #endif */
-
- #define SystemV4 YES
- #define ExtraLibraries -lsocket -lnsl -lgen
- #define XsunServer YES /* has color and mono support */
- #define XsunMonoServer YES /* monochrome only */
- #define BuildPexExt XsunServer
- #define InstKmemFlags -g kmem -m 2755
- #define HasSockets YES
-
- /*#define DefaultCCOptions -xsb*/ /* source browser, to be removed */
- #if HasGcc
-
- #define SharedLibraryCcCmd cc
- #define ExtraLoadFlags -B/usr/bin/
- #define AllocateLocalDefines /**/
-
- .c.o:
- $(CC) -c $(CFLAGS) $*.c
-
- #else
-
- #define AllocateLocalDefines -DINCLUDE_ALLOCA_H
-
- #endif
-
- #ifdef sparc
- #undef sparc
- #define SparcArchitecture
- #endif
- #ifdef sun386
- #undef sun386
- #define i386Architecture
- #endif
-
-
- #define ServerDefines -DSVR4 -Dsun -Dsparc ExtensionDefines AllocateLocalDefines
- #include <sv4Lib.rules>
-
- #ifndef UseSunWindowsInServer
- #define UseSunWindowsInServer NO /* link in SunWindows support? */
- #endif
-
- #if UseSunWindowsInServer
- #define SunWindowsDefines -DSUN_WINDOWS
- #else
- #define SunWindowsDefines /* as nothing */
- #endif
-
- #define SharedAllocateLocalDefines -DINCLUDE_ALLOCA_H /* patch 1*/
- #define ServerOSDefines AllocateLocalDefines
- #define BootstrapCFlags -Dsun -Dsparc
- #define BuildPex NO
-